package com.qiyuexinxi.chat;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.support.ResourceBundleMessageSource;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.client.RestTemplate;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.util.Locale;

/**
 * @author yangxingyu
 * @date 2020/2/25
 * @description
 */
@SpringBootApplication
@MapperScan("com.qiyuexinxi.chat")
@EnableFeignClients
@EnableHystrix
@EnableTransactionManagement
public class GoodChatApplication {
    public static void main(String[] args) {
        SpringApplication.run(GoodChatApplication.class);
    }
}
